package com.example.demo.model.converter;

import com.example.demo.model.core.PageVo;
import com.example.demo.model.entity.SysDict;
import com.example.demo.model.form.DictForm;
import com.example.demo.model.vo.DictVO;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface SysDictConverter {

    DictVO toVo(SysDict value);

    SysDict toEntity(DictForm value);

    DictForm toForm(SysDict value);

    PageVo<DictVO> toPageVo(PageVo<SysDict> pageVo);
}
